AmeliaBooking\Application\Services\User\UserApplicationService C

Total Complexity 106
Dependencies 20
Dependents 3
Total lines 555
Lines of code 286
Logical lines of code 159
Comment lines 146
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
getAuthenticatedUserResponse()
B
35 18 83
authorization()
B
47 19 31
getAuthenticatedUser()
A
44 13 42
getAppointmentsCountForUser()
A
44 9 43
setWpUserIdForNewUser()
A
53 10 21
isCustomerBooking()
A
59 10 13
setWpUserIdForExistingUser()
A
53 9 21
isAmeliaUser()
S
67 4 8
isAdminAndAllowedToBookAtAnyTime()
S
69 3 6
isAdminAndAllowedToBookOver()
S
69 3 6
checkProviderPermissions()
S
77 3 3
isCustomer()
S
78 2 3
isProvider()
S
78 2 3
__construct()
S
81 1 3